import { request } from '@/utils/request';

/**
 * @description 获取table列表
 */
export function getTableListApi(data?: API.SearchTestParams) {
  return request(
    {
      url: 'test/posts',
      method: 'get',
      data,
    },
    {
      isTest: true,
      isGetDataDirectly: false,
    },
  );
}
